<?php 
header('Content-Type: image/svg+xml');
echo'<?xml version="1.0" encoding="UTF-8" standalone="no"?>'; ?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="1024px" height="724px"
   id="svg2">
   <script type="text/ecmascript" xlink:href="smil.user.js"/>
  <defs>
  <?php 
  	/*TODO loop around -->
  <? foreach($aUserList as $aUser): ?>  
   <tr>  
       <td align="center"><?=$aUser['id'];?></td>  
       <td><?=$aUser['name'];?></td>  
       <td><a href="mailto:<?=$aUser['email'];?>"><?=$aUser['email'];?></a></td>  
       <td align="center"><?=($aUser['banned'] ? 'X' : '&nbsp;');?></td>  
   </tr>  
<? endforeach; ?>  */
?>

    <g id="fish1">
      <?php echo str_replace('<?xml version="1.0" encoding="UTF-8" standalone="no"?>
','', file_get_contents('mystica_Aquarium_fish_-_Cirrhilabrus_jordani.svg')); ?>
    </g>
    
  </defs>
   
   <image xlink:href="background.jpg" width="1024px" height="724px" x="0" y="0"/>
  <g>
    <use xlink:href = "#fish1" transform="scale(0.3, 0.3)"/>
  <animateTransform attributeName="transform" type="translate" begin="0s" dur="20s" values="700,350;150,100" repeatCount="indefinite"/>
  </g>
  <g>
    <use xlink:href = "#nemo" transform="scale(-0.7,0.7)"/>
    <animateTransform attributeName="transform" type="translate" begin="0s" dur="20s" values="150,400;700,50" repeatCount="indefinite"/>
  </g>
  
  <g>
    <use xlink:href = "#fish1" transform="scale(-0.2, 0.2)"/>
    <animateTransform attributeName="transform" type="translate" begin="0s" dur="20s" values="150,300;700,150" repeatCount="indefinite"/>
  </g>
   
  
</svg>

